package com.block.db.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 线索推送结果表
 * </p>
 *
 * @author 
 * @since 2023-12-28
 */
@Getter
@Setter
@TableName("lq_source_push_result_info")
public class SourcePushResultInfo implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    private String dateInfo;

    private String channelCode;

    private String channelName;

    private String outOrderNo;

    // 显示成本价格
    private BigDecimal baseAmount;

    private Long uid;

    private Long dataId;

    private String orderNo;

    private String orderItemNo;

    // 下游推送状态
    // INIT WAIT_PUSH  SUCCESS FAILED
    private String status;

    private String message;

    // 上游结算状态
    // INIT SUCCESS FAILED LESS
    private String settleStatus;

    private Integer infoId;

    private String infoName;

    private String infoType;

    private Integer taskId;

    // 显示推送价格
    private BigDecimal priceAmount;
    // 实际推送价格
    private BigDecimal realPriceAmount;

    /**
     * 授权地址
     */
    private String approveUrl;

    /**
     * 是否已经通知
     */
    private Integer noticeFlag;
    private Integer openFlag;

    private String registerIp;

      @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

      @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
